package com.zhilianbao.leyaogo.ui.adapter.home.slider;

import com.zhilianbao.leyaogo.model.response.home.BaseDataBean;
import com.zhilianbao.leyaogo.model.response.home.BaseHomeData;

import java.io.Serializable;
import java.util.List;

/**
 * 首页Banner广告 Model
 */
public class HomeAppSlider extends BaseHomeData {


    /**
     * data : {"list":[{"id":3,"type":0,"name":"熟冻北极甜虾","desc":"商品简短的描述","img":"6f6a9ee0052c962d07871b3bb48c61bf.jpg"},{"id":1006,"type":2,"name":"1225圣诞节","desc":"商品简短的描述","img":"9e67f65d9759c4ac01a1aad3e9ca9636.jpg"}]}
     */

    private HomeAppSliderData data;

    public HomeAppSliderData getData() {
        return data;
    }

    public void setData(HomeAppSliderData data) {
        this.data = data;
    }

    public static class HomeAppSliderData implements Serializable {
        private List<HomeAppSliderBean> list;

        public List<HomeAppSliderBean> getList() {
            return list;
        }

        public void setList(List<HomeAppSliderBean> list) {
            this.list = list;
        }

        public static class HomeAppSliderBean extends BaseDataBean {
            /**
             * desc : 商品简短的描述
             * img : 6f6a9ee0052c962d07871b3bb48c61bf.jpg
             */

            private String desc;
            private String img;


            public String getDesc() {
                return desc;
            }

            public void setDesc(String desc) {
                this.desc = desc;
            }

            public String getImg() {
                return img;
            }

            public void setImg(String img) {
                this.img = img;
            }
        }
    }
}